package com.linkhub.oms.admin.common.enums;

import com.linkhub.oms.common.enums.IEnumConvert;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 银行流水类型
 *
 * @author Franck
 */
@Getter
@AllArgsConstructor
public enum BankStatementEnum implements IEnumConvert<Integer> {
    /**
     * 银行流水类型
     */
    TRANSFER(1, "转账银行流水"),
    RECEIVED(2, "到账银行流水");
    private final Integer type;
    private final String desc;


    @Override
    public Integer getCode() {
        return this.type;
    }
}
